package com.woniuxy.project.campus.account.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("permission")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 资源名
     */
    @TableField("permission_name")
    private String permissionName;

    /**
     * 资源描述
     */
    @TableField("description")
    private String description;

    /**
     * 父资源id
     */
    @TableField("parent_id")
    private Integer parentId;

    /**
     * 路由
     */
    @TableField("router")
    private String router;


}
